using System;
using System.Collections.Generic;

namespace AxeFrog.Security.Data
{
	public interface IRoleRepository
	{
		void SetUserRole(long userID, long role);
		void SetUserRole(long userID, long role, DateTime? expiryDate);
		void RemoveUserRole(long userID, long role);
		long[] GetByUserID(long id);
		long[] GetByUserID(long id, out AccessLevel accessLevel);
		List<Role> GetAllRoles();
		Dictionary<long, List<long>> GetByUserIDList(IList<long> idList);
	}
}